package com.ruoyi.jjyh.mapper;

import java.util.List;
import com.ruoyi.jjyh.domain.JjyhOrderGoods;

/**
 * 订单商品表Mapper接口
 * 
 * @author ruoyi
 * @date 2020-11-25
 */
public interface JjyhOrderGoodsMapper 
{
    /**
     * 查询订单商品表
     * 
     * @param id 订单商品表ID
     * @return 订单商品表
     */
    public JjyhOrderGoods selectJjyhOrderGoodsById(String id);

    /**
     * 查询订单商品表列表
     * 
     * @param jjyhOrderGoods 订单商品表
     * @return 订单商品表集合
     */
    public List<JjyhOrderGoods> selectJjyhOrderGoodsList(JjyhOrderGoods jjyhOrderGoods);

    public List<JjyhOrderGoods> selectOrderGoodsList(JjyhOrderGoods jjyhOrderGoods);

    /**
     * 新增订单商品表
     * 
     * @param jjyhOrderGoods 订单商品表
     * @return 结果
     */
    public int insertJjyhOrderGoods(JjyhOrderGoods jjyhOrderGoods);

    /**
     * 修改订单商品表
     * 
     * @param jjyhOrderGoods 订单商品表
     * @return 结果
     */
    public int updateJjyhOrderGoods(JjyhOrderGoods jjyhOrderGoods);

    /**
     * 删除订单商品表
     * 
     * @param id 订单商品表ID
     * @return 结果
     */
    public int deleteJjyhOrderGoodsById(String id);

    /**
     * 批量删除订单商品表
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteJjyhOrderGoodsByIds(String[] ids);
}
